<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>web</title>
		<script type="text/javascript">
			 var name=prompt("学生姓名");
			var score=prompt("学生成绩");
			if(score>=50 && score<65){
			alert("好好学习哟！");
			}else if(score>=65 && score<80){
			alert("哎呦，不错呦！");
			}else if(score>=80 && score<95){
			if(score==90){
				console.log(name+"优");
			}else{
				alert("优");
				}
			}else{
			alert("升天啊")
			}
		</script>
	</head>
	<body>
		
	</body>
</html>